<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/7/21
  Time: 19:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>El表达式快速入门</title>
</head>
<body>
<%--向域对象中添加数据--%>
<% request.setAttribute("username", "zhangsan");%>

<%--获取数据--%>
java代码块:<% out.println(request.getAttribute("username"));%><br/>
JSP表达式：<%=request.getAttribute("username")%><br/>

El表达式:${username}
</body>
</html>
